<!doctype html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">


    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
    <link rel="stylesheet" href="./stylesheets/style.css">
    <title>首页</title>
</head>

<body class=" text-white">
    <div class=" bg-info bg-gradient-25">
        <div class="row" style="margin-left: 3px;">
            <div class="col-12">
                <nav aria-label="breadcrumb" style="display:inline-block;">
                    <ol class="breadcrumb" style="margin-top: 14px;">
                        <li class="breadcrumb-item"><a href="/index" class="fs-3 text-decoration-none fw-normal"
                                style="font-family: cursive;">退出登录</a></li>
                        <li class="breadcrumb-item active text-light fw-normal fs-3" style="font-family: cursive;"
                            aria-current="page">主页</li>
                    </ol>
                </nav>
                <button type="button" class="btn  btn-secondary search_currentcontract_balance"
                    style="margin-left: 461px;">交易池金额</button>
            </div>
        </div>
    </div>
    <div id="carouselExampleCaptions" class="carousel slide" data-bs-ride="carousel">
        <div class="carousel-indicators">
            <button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="0" class="active"
                aria-current="true" aria-label="Slide 1"></button>
            <button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="1"
                aria-label="Slide 2"></button>
            <button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="2"
                aria-label="Slide 3"></button>
        </div>
        <div class="carousel-inner">
            <div class="carousel-item active">
                <img src="./images/car.png" class="d-block w-100" style="height: 273px;">
                <div class="carousel-caption d-none d-md-block">
                    <h5>豪车住宅</h5>
                    <p>海南黑老大XXX别捕后法院拍卖的豪车豪宅拍卖现场入口</p>
                </div>
            </div>
            <div class="carousel-item">
                <img src="./images/good.png" class="d-block w-100" style="height: 273px;">
                <div class="carousel-caption d-none d-md-block">
                    <h5>汉朝瓷器古董</h5>
                    <p>2022年2月在江苏仪征市刘集联营赵庄抓获的涉黑人员名下的各项藏品</p>
                </div>
            </div>
            <div class="carousel-item">
                <img src="./images/glar.png" class="d-block w-100" style="height: 273px;">
                <div class="carousel-caption d-none d-md-block">
                    <h5>金银首饰</h5>
                    <p>财富，爱情，能力，祝福的象征</p>
                </div>
            </div>
        </div>
        <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleCaptions"
            data-bs-slide="prev">
            <span class="carousel-control-prev-icon" aria-hidden="true"></span>
            <span class="visually-hidden">上一张</span>
        </button>
        <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleCaptions"
            data-bs-slide="next">
            <span class="carousel-control-next-icon" aria-hidden="true"></span>
            <span class="visually-hidden">下一张</span>
        </button>
    </div>
    <div class="container mt-2 mb-1">
        <div class="row">
            <div class="col-2">
                <p class="text-black">当前账户:</p>
            </div>
            <div class="col-8">
                <div class="showAccount text-black" style="display: inline;"></div>
            </div>
            <div class="col-2">
                <button type="button" class="btn btn-primary enableEthereumButton ">链接账户</button>
            </div>
        </div>
    </div>
    <div class="container">
        <div class="shadow-lg p-3 mb-5 bg-body rounded">
            <div class="row">
                <div class="col-3">
                    <button type="button" id="triggerBtn" class="btn btn-primary AddGoods">添加拍卖品</button>
                </div>
                <div class="col-4">
                    <button type="button" class="btn btn-primary search_current_balance">当前账户信息</button>
                </div>
                <div class="col-5">
                    <form action="" method="post">
                        <input type="search" name="" id="getinputid" placeholder="商品id"
                            style="border-radius: 7px;border: 1px solid #947f7f;width: 177px;height: 37px;">
                        <button type="button" id="triggerBtn1" class="btn getinfobyid">查询</button>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <div id="myModal" class="modal" style="width: 800px;">
        <div class="modal-content" style="width: 88%;">
            <div class="modal-header">
                <div class="container">

                    <div class="row">
                        <h2 class="col-8 align-self-center text-black">添加商品</h2>
                        <div class="col-2">
                            <span id="closeBtn" class="close">×</span>
                        </div>
                    </div>
                </div>
            </div>
            <form  method="post">
                <div class="shadow-sm p-3 mb-5 bg-body rounded">
                    <div class="modal-body">
                        <div class="container bg-info bg-gradient ">
                            <div class="row">
                                <div class="col-3 mt-5">
                                    <label for="inputPassword" class="col-form-label"
                                        style="font-size: 25px;">商品名称&nbsp;:
                                </div>
                                <div class="col-6 mt-5">
                                    </label><input type="text" class="form-control" id="name"
                                        style="width: 350px;height: 57px;border-radius: 11px;border: 1px solid #8b8b8b;">
                                </div>
                            </div>
                            <div class="row mt-5">
                                <div class="col-3">
                                    <label for="inputPassword" class="col-form-label"
                                        style="font-size: 25px;">类别&nbsp;:</label>
                                </div>
                                <div class="col-6">
                                    <input type="text" class="form-control" id="category"
                                        style="width: 350px;height: 57px;border-radius: 11px;border: 1px solid #8b8b8b;">
                                </div>
                            </div>
                            <div class="row mt-5">
                                <div class="col-3">
                                    <label for="inputPassword" class="col-form-label"
                                        style="font-size: 25px;">起拍价(WEI)&nbsp;:</label>
                                </div>
                                <div class="col-6">
                                    <input type="text" class="form-control" id="price"
                                        style="width: 350px;height: 57px;border-radius: 11px;border: 1px solid #8b8b8b;">
                                </div>
                            </div>
                            <div class="row mt-5">
                                <div class="col-2"></div>
                                <div class="col-4  d-grid gap-2">
                                    <button class="btn btn-primary sure_add" type="button"
                                        style="width: 117px;height: 54px;font-size: 26px;font-family: cursive;" onclick="upload()">确认</button>
                                </div>
                                <div class="col-4 d-grid gap-2">
                                    <button class="btn btn-primary close" type="reset" id="closeBtn"
                                        style="width: 117px;height: 54px;font-size: 26px;font-family: cursive;">取消</button>
                                </div>
                                <div class="col-2"></div>
                            </div>
                            <br>
                        </div>
                    </div>
                </div>
            </form>

        </div>
    </div>
    </div>
    </div>
    </div>

    <div id="myModal1" class="modal" style="width: 800px;">
        <div class="modal-content" style="width: 97%;">
            <div class="modal-header">
                <div class="container">
                    <div class="row">
                        <h2 class="col-8 align-self-center">添加商品</h2>
                        <div class="col-2">
                            <span id="closeBtn1" class="close">×</span>
                        </div>
                    </div>
                </div>
            </div>
            <form action="" method="post">
                <div class="shadow-sm p-3 mb-5 bg-body rounded">
                    <div class="modal-body">
                        <div class="container bg-info bg-gradient ">
                            <div class="row" style="text-align: center;">
                                <div class="col-4 mt-5">
                                    <p style="font-size: 25px;">商品ID&nbsp;:</p>
                                </div>
                                <div class="col-6 mt-5">
                                    <div id="searchgoodby_id" style="font-size: 25px;"></div>
                                </div>
                            </div>
                            <div class="row" style="text-align: center;">
                                <div class="col-4 mt-5">
                                    <p style="font-size: 25px;">商品名称&nbsp;:</p>
                                </div>
                                <div class="col-6 mt-5">
                                    <div id="searchgoodby_name" style="font-size: 25px;">
                                    </div>
                                </div>
                            </div>
                            <div class="row" style="text-align: center;">
                                <div class="col-4 mt-5 ">
                                    <p style="font-size: 25px;">商品类别&nbsp;:</p>
                                </div>
                                <div class="col-6 mt-5">
                                    <div id="searchgoodby_category" style="font-size: 25px;"></div>
                                </div>
                            </div>
                            <div class="row" style="text-align: center;">
                                <div class="col-4 mt-5">
                                    <p style="font-size: 25px;">商品起拍价&nbsp;:</p>
                                </div>
                                <div class="col-6 mt-5">
                                    <div id="searchgoodby_startpri" style="font-size: 25px;"></div>
                                </div>
                            </div>
                            <div class="row" style="text-align: center;">
                                <div class="col-4 mt-5">
                                    <p style="font-size: 25px;">商品最新价&nbsp;:</p>
                                </div>
                                <div class="col-6 mt-5">
                                    <div id="searchgoodby_newpri" style="font-size: 25px;">
                                        这是商品商品最新价
                                    </div>
                                </div>
                            </div>
                            <div class="row" style="text-align: center;">
                                <div class="col-4 mt-5">
                                    <p style="font-size: 25px;">商品当前状态&nbsp;:</p>
                                </div>
                                <div class="col-6 mt-5">
                                    <div id="searchgoodby_status" style="font-size: 25px;">
                                        这是商品商品当前状态
                                    </div>
                                </div>
                                <br>
                            </div>
                            <div class="row" style="text-align: center;">
                                <div class="col-4 mt-5">
                                    <p style="font-size: 25px;">商品所属者&nbsp;:</p>
                                </div>
                            </div>
                            <div class="row" style="text-align: center;">
                                <div class="col-6 ">
                                    <div id="searchgoodby_owner" style="font-size: 25px;"></div>
                                </div>
                            </div>
                            <br>
                        </div>
                    </div>
            </form>

        </div>
    </div>
    </div>
    </div>
    </div>

    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
        integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous">
    </script>
    <script type="text/javascript" src="/javascripts/jquery.js"></script>
    <script type="text/javascript" src="/javascripts/web3.min.js"></script>
    <script type="text/javascript" src="/javascripts/home.js"></script>
    <script type="text/javascript" src="/javascripts/home1.js"></script>
    <script type="text/javascript" src="/javascripts/upload.js"></script>

</body>

</html>